package com.yaodian100.ec.activity.service;

import java.io.OutputStream;

import com.yaodian100.core.common.exception.CoreException;
import com.yaodian100.ec.activity.entity.ActivityPage;

public interface ActivityPageGenerateService {
	public String generate(Long activityPageId) throws CoreException;
	
	public void generate(Long activityPageId,OutputStream out) throws CoreException;
	
	public void generate(ActivityPage activityPage,OutputStream out) throws CoreException;
	
	public String generate(ActivityPage activityPage) throws CoreException;
	
	public void preview(ActivityPage activityPage,OutputStream out) throws CoreException;
}
